lcPaint_DrawArcText Home

Draws an arc text, using active font.

 BOOL lcPaint_DrawArcText (
   HANDLE hLcWnd,
   LPCWSTR szText,
   double Xcen,
   double Ycen,
   double Radius,
   double Angle,
   BOOL bClockwise,
   double Height,
   double WScale,
   int Align
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
szText
  Text string.
Xcen Ycen
  Arc center point.
Radius
  Arc radius.
Angle
  Angle from arc center, defines the text position on the arc.
bClockwise
  Text direction along the arc, TRUE is clockwise.
Height
  Height of text characters.
WScale
  Width scale of the text (0.1 - 10.0).
Align
  Text alignment to the Angle parameter:
LC_ATA_LEFT - align by left side of text,
LC_ATA_CENTER - align by center of text,
LC_ATA_RIGHT - align by right side of text

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  lcPaint_FontSelect